package com.example.yskjproject.utils;

/**
 * CsehUtlis
 * <p>
 * 作者：zx
 * 创建时间：2024/4/25
 */
public class CashUtil {
    private static CashUtil instance;

    public synchronized static CashUtil  getInstance(){
        if(instance == null){
            instance = new CashUtil();
        }
        return  instance;
    }
    /**
     * 进入工作室  or  创建工作室
     */
    private int works = 0;

    public int getWoksState(){
        return  works;
    }
    public void setWorksState(int worksState){
        this.works = worksState;
    }

    private int tiem = 100;

    public int getTime(){
        return  tiem;
    }

    public void setTime (int time){
        this.tiem = time;
    }
}
